/*
 * Copyright (c) 2018.
 * http://www.ulabcare.com
 */

package com.mt.roll.passport.service;


import com.mt.roll.core.dto.ApiLogDto;
import com.mt.roll.core.dto.LoginLogDto;
import com.mt.roll.core.dto.Permission;

import java.util.List;

/**
 * @author jiff
 * @date 2018/11/1
 * @since 1.0
 */
public interface PassportService {
    List<Permission> getAllPermission();

    void saveLoginLog(LoginLogDto loginLogDto);

    void saveApiLog(ApiLogDto apiLogDto);

}
